package com.ham.mud.state;

import com.ham.mud.ServerConnection;

/**
 * Created by hlucas on Jun 16, 2011 at 12:16:44 PM
 */
public abstract class ConnectionState {
    protected ServerConnection connection;

    protected ConnectionState(ServerConnection connection) {
        this.connection = connection;
    }

    public abstract void processInput(String line);
    public void preTick(){}
    public abstract void tick();
    public void postTick(){}
}
